import { useUserStore } from "@/store/UserStore";

export const checkAccess = (access: string) => {
  return useUserStore().loginUser.userRole === access;
};
